import { createRouter, createWebHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name:"MainView",
        component:()=>import("../view/MainView.vue")
    },
    {
        path: '/MissionEditor',
        name:"MissionEditor",
        component:()=>import("../view/MissionEditor/MissionEditor.vue")
    },
    {
        path: '/DatabaseViewer',
        name:"DatabaseViewer",
        component:()=>import("../view/DataBaseViewer/DatabaseViewer.vue")
    },
    {
        path: '/test',
        name:"Test",
        component:()=>import("../view/Test.vue")
    },
]

const router = createRouter({
    history: createWebHistory("/"),
    routes:routes,
})

export default router;

